package com.xmy.cultivate.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum OpeningSchoolTypeEnum {
    //开课校区类型:1全部校区，2指定校区
    NO(0,"无"),
    ALL(1,"全部校区"),
    APPOID(2,"指定校区");

    @EnumValue
    private Integer key;

    @JsonValue
    private String value;

    OpeningSchoolTypeEnum(Integer key,String value){
        this.key = key;
        this.value = value;
    }
}
